package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.TestQuestionAnswer;
import com.ajk.server.model.query.TestQuestionAnswerQuery;

/**
 * 测试题答案  <br>
 * t_test_question_answer <br>
 * v1.0 2016-05-01
 */
 public interface TestQuestionAnswerService {
	
	/**
 	*根据ID删除 测试题答案
 	*/
 	public Integer deleteTestQuestionAnswerById(Integer id);
 	
 	/**
 	*新增 测试题答案
 	*/
 	public Integer batchInsertTestQuestionAnswer(List<? extends TestQuestionAnswer> testQuestionAnswers);
 	
 	/**
 	*新增 测试题答案
 	*/
 	public Integer insertTestQuestionAnswer(TestQuestionAnswer domain);
 
 	
 	/**
 	*更新 测试题答案
 	*/
 	public Integer updateTestQuestionAnswer(TestQuestionAnswer domain);
 	
 	/**
 	*根据ID查询 测试题答案
 	*/
 	public TestQuestionAnswer findTestQuestionAnswerById(Integer id);

	/**
 	*通过query 查询 测试题答案
 	*/
	public List<TestQuestionAnswer> findTestQuestionAnswerByQuery(TestQuestionAnswerQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countTestQuestionAnswerByQuery(TestQuestionAnswerQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<TestQuestionAnswer> findTestQuestionAnswerByIds(List<Integer> ids);
 	
}	